package com.cafuc.discipline.anno;
import java.lang.annotation.*;

/**
 * @Description: 自定义加密注解
 * @Auther: Mete
 * @Date: 2023/1/10
 */



@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface EncryptFilter {

     /**
     * 对入参是否解密
     *
     * @return
     */
    boolean decryptRequest() default false;

    /**
     * 对出参是否加密
     */
    boolean encryptResponse() default false;
}
